import request from '@/utils/request'

// 统计运单
export function billAPI() {
  return request({
    url: '/manager/transport-order-manager/count'
  })
}

// 获取运单详情
export function billDetail(id) {
  return request({
    url: `/manager/transport-order-manager/${id}`
  })
}

// 获取订单分页数据
export function pageAPI(data) {
  return request({
    url: '/manager/order-manager/order/page',
    method: 'post',
    data: {
      page: data.page,
      pageSize: data.pageSize
    }
  })
}
